package com.systemCapacity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.systemCapacity.entity.Enum.TenCapacityType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("battleCapacity")
public class BattleCapacity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "capacityId")
    @NotBlank(message = "能力id不能为空")
    private String capacityId;

    @NotBlank(message = "能力名称不能为空")
    private String capacityName;

    private TenCapacityType capacityType;

    private String pid;

    private String relatedEquipmentType;
}
